package com.love.marriage.dictInfo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.love.marriage.dictInfo.entity.DictInfo;
import com.love.marriage.dictInfo.vo.DictInfoVo;

import java.util.List;

/**
 * 字典信息表 服务类
 * author: mybatisPlus
 * createDate: 2024-10-12 22:54:04
 * description: 我是由代码生成器生成
 * version: 1.0.0
 */
public interface DictInfoService extends IService<DictInfo> {

    Page<DictInfoVo> getPage(Long pageNum, Long pageSize, DictInfoVo dictInfoVo);

    DictInfoVo queryDictInfo(Long id);

    DictInfoVo queryDictInfoByTypeCode(String typeCode, String belongTo);

    DictInfoVo addDictInfo(DictInfoVo dictInfoVo);

    Boolean batchAddDictInfo(List<DictInfoVo> dictInfoVo);

    DictInfoVo updateDictInfo(DictInfoVo dictInfoVo);

    Boolean deleteDictInfo(String ids);

    List<DictInfoVo> listByBelong(String belongTo);

    boolean initDictRedis();
}
